package com.yingxin.yxerp.module.report.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yingxin.yxerp.module.report.entity.TaskExecuteErrorDaily;
import com.yingxin.yxerp.module.report.vo.req.TaskExecuteErrorDailyQueryVo;
import com.yingxin.yxerp.module.report.vo.resp.TaskExecuteErrorDailyRespVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 动态任务-执行异常报表
 * @author yuebao
 * @since 2023-12-14
 */

public interface TaskExecuteErrorDailyMapper extends BaseMapper<TaskExecuteErrorDaily> {

    /**
     * 分页查询
     */
    IPage<TaskExecuteErrorDailyRespVo> pageVo(Page page, @Param("queryObj") TaskExecuteErrorDailyQueryVo queryObj);

    /**
     * 查询全部
     */
    List<TaskExecuteErrorDailyRespVo> listVo(@Param("queryObj") TaskExecuteErrorDailyQueryVo queryObj);

    /**
     * 根据id查询
     */
    TaskExecuteErrorDailyRespVo getVo(@Param("id") String id);

}
